package com.qsd.doc4jsimpple.constants;

import org.docx4j.wml.Numbering;

public  class MultiLevelTypeEnum {
    public static final Numbering.AbstractNum.MultiLevelType SINGLE_LEVEL;
    public static final Numbering.AbstractNum.MultiLevelType MULTI_LEVEL;
    public static final Numbering.AbstractNum.MultiLevelType HYBRID_MULTI_LEVEL;
    static {
        SINGLE_LEVEL = create("singleLevel");
        MULTI_LEVEL = create("multiLevel");
        HYBRID_MULTI_LEVEL = create("hybridMultiLevel");
    }
    private static Numbering.AbstractNum.MultiLevelType create(String type) {
        Numbering.AbstractNum.MultiLevelType mlt = new Numbering.AbstractNum.MultiLevelType();
        mlt.setVal(type);
        return mlt;
    }
}
